package com.xk.ucs.common;

/**
 * @ClassName IError
 * @Description 业务异常规范
 * @Author 01387843
 * @Date 2022/6/22
 **/
public interface IError {

    ApplicationException exp();

    ApplicationException exp(Object... args);

    ApplicationException exp(Throwable cause, Object... args);
    ApplicationException expMsg(String message, Object... args);

    ApplicationException expMsg(String message, Throwable cause, Object... args);

    String getCode();

    String getMessage();

    String getInfo();
}
